package com.idealighter.game.roomcard.struct.roomcfg;

import com.alibaba.fastjson.TypeReference;
import com.idealighter.game.core.annotation.RoomCfg;
import com.idealighter.game.core.common.GameIdConstant;
import com.idealighter.game.roomcard.struct.RoomCardRoomCfg;
import com.idealighter.game.roomcard.struct.roomcfg.value.MustNiuNiuRoomCardRoomCfgValue;

@RoomCfg(GameIdConstant.MUST_NIUNIU)
public class MustNiuNiuRoomCardRoomCfg extends RoomCardRoomCfg<MustNiuNiuRoomCardRoomCfgValue> {
  private static final long serialVersionUID = -2677032935171642847L;

  public MustNiuNiuRoomCardRoomCfg() {
    super(new TypeReference<MustNiuNiuRoomCardRoomCfgValue>() {});
    this.setGameId(GameIdConstant.MUST_NIUNIU);
  }

  /**
   * 构造函数.
   */
  public MustNiuNiuRoomCardRoomCfg(String gameCfgs) {
    super(new TypeReference<MustNiuNiuRoomCardRoomCfgValue>() {});
    this.setGameId(GameIdConstant.MUST_NIUNIU);
    this.setGameCfg(gameCfgs);
  }
}
